package com.example.random_your_hero.service;

import com.example.random_your_hero.model.Hero;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;
import java.util.Map;

public interface IHeroService {
    public List<Hero> getList();

    public List<Hero> getRandomList(String number);

    public String add(Hero hero);

    public String updateById(Hero hero);

    public String deleteById(HttpServletRequest httpServletRequest);

    public Map<String, Object> searchById(String id);
}
